import {uniqueId} from '@/utils';

const label = '富文本框';
const name = 'editor';

export default {
	icon: 'icon-editor',
	label,
	name,
	rule() {
		return {
			type: name,
			field: uniqueId(),
			title: label,
			info: '',
			col:24,
			showLable:true,
			labelWidth:'',
			$required: false,
			props: {},
		};
	},
	props() {
		return [{
			type: 'switch',
			field: 'disabled',
			title: '是否禁用'
		}];
	}
};